package com.iwuyc.tools.commons.codec;

import lombok.Getter;

@Getter
public enum TypeEnum {
    VOID("void", (byte) 1),
    BYTE("byte", (byte) 2),
    SHORT("short", (byte) 3),
    INT("int", (byte) 4),
    LONG("long", (byte) 5),
    FLOAT("float", (byte) 6),
    DOUBLE("double", (byte) 7),
    BOOLEAN("boolean", (byte) 8),
    CHAR("char", (byte) 9),
    STRING("string", (byte) 10),
    ;

    private final String type;
    private final byte flags;

    TypeEnum(String type, byte flags) {
        this.type = type;
        this.flags = flags;
    }

}
